import { http } from '@/utils/http'

//获取验证码图片
export const getCodeImg = () => http.get('/captchaImage')

//登录
export const login = (data) => http.post("/login", data);
